import java.util.*;

class IteratorMap {

	public static void main(String[] args) {
		Map map = new HashMap();
		map.put("map_key", "map_value");

		Iterator it = map.keySet().iterator();
    	while(it.hasNext()) {
			String keyValue = (String)it.next();
    		System.out.println( keyValue );
			System.out.println( map.get( keyValue ) );
    	}
	}
}
